const purchaseRouter = {
    path:'purchase',
    rName:'采购计划管理',
    component:'purchase',
    children:[
        {
            path:'plan',
            rName:'计划管理',
            component:'purchase/plan',
            redirect:'plan/list',
            hasChild:false,
            children:[
                {
                    path:'list',
                    rName:'计划信息',
                    component:'purchase/plan/list',
                    isHidden:true
                },
                {
                    path:'detail',
                    rName:'计划详情',
                    component:'purchase/plan/detail',
                    isHidden:true
                },
                {
                    path:'audit',
                    rName:'计划审核',
                    component:'purchase/plan/audit',
                    isHidden:true
                }
            ]
        },
        {
            path:'order',
            rName:'订单管理',
            component:'purchase/order',
            redirect:'order/list',
            hasChild:false,
            children:[
                {
                    path:'list',
                    rName:'订单信息',
                    component:'purchase/order/list',
                    isHidden:true
                },
                {
                    path:'detail',
                    rName:'订单详情',
                    component:'purchase/order/detail',
                    isHidden:true
                }
            ]
        },
        {
            path:'materialApply',
            rName:'材料编码申请',
            component:'purchase/materialApply',
            redirect:'materialApply/list',
            hasChild:false,
            children:[
                {
                    path:'list',
                    rName:'材料编码申请信息',
                    component:'purchase/materialApply/list',
                    isHidden:true
                },
                {
                    path:'detail',
                    rName:'材料编码申请详情',
                    component:'purchase/materialApply/detail',
                    isHidden:true
                },
                {
                    path:'audit',
                    rName:'材料编码申请审核',
                    component:'purchase/materialApply/audit',
                    isHidden:true
                }
            ]
        },
        {
            path:'materialClassify',
            rName:'材料分类管理',
            component:'purchase/materialClassify',
            redirect:'materialClassify/list',
            hasChild:false,
            children:[
                {
                    path:'list',
                    rName:'材料分类信息',
                    component:'purchase/materialClassify/list',
                    isHidden:true
                },
                {
                    path:'detail',
                    rName:'材料子分类信息',
                    component:'purchase/materialClassify/detail',
                    isHidden:true
                }
            ]
        },
        {
            path:'aftersale',
            rName:'材料售后管理',
            component:'purchase/aftersale',
            redirect:'aftersale/list',
            hasChild:false,
            children:[
                {
                    path:'list',
                    rName:'材料售后管理列表',
                    component:'purchase/aftersale/list',
                    isHidden:true
                },
                {
                    path:'detail',
                    rName:'材料售后管理详情',
                    component:'purchase/aftersale/detail',
                    isHidden:true
                }
            ]
        },
        {
            path:'analyze',
            rName:'统计分析',
            component:'purchase/analyze',
            redirect:'analyze/chart',
            hasChild:false,
            children:[
                {
                    path:'chart',
                    rName:'统计分析报表',
                    component:'purchase/analyze/chart',
                    isHidden:true
                }
            ]
        }
    ]
}

export default purchaseRouter